package com.zhang.Decorator.example;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-03-09 23:25
 * To: 真常应物，真常得性，常清常静，常清静矣
 */
public class Father2 {
    public static void main(String[] args) {
        SchoolReport sr;
        sr = new FouthGradeSchoolReport();  //  原转的成绩单
        sr = new HighScoreDecorator(sr);  // 加了最高分的成绩单
        sr = new SortDecorator(sr);  // 加了成绩排名的说明
        sr.report();
        sr.sign("老三");
    }
}
